﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo03
{
    class Circle:Shape
    {
        public double r;
        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine("请输入圆的半径：");
            r = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("圆的面积为：" + (3.14 * r * r));
            Console.WriteLine("圆的颜色是：" + Color);
        }
    }
}
